package com.tianyi.sfzy1.mapper;

import com.tianyi.sfzy1.domain.Charityactivity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【charityactivity(公益活动表)】的数据库操作Mapper
* @createDate 2025-01-02 11:46:53
* @Entity com.tianyi.sfzy1.domain.Charityactivity
*/
@Mapper
public interface CharityactivityMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Charityactivity record);

    int insertSelective(Charityactivity record);

    Charityactivity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Charityactivity record);

    int updateByPrimaryKey(Charityactivity record);
    //咨询师表和公益表联查
    List<Charityactivity> selectWithConsultant();

}
